/* 全体の基本スタイル------------------------- */
body {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: medium;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #0F141A;
  text-align: justify;
}

p {
  font-size: 1.25em;
}

.main {
  padding-top: 40px;
  padding-bottom: 40px;
}



/* ヒーローセクション------------------------- */
.hero-section {
  padding: 40px 80px;
  background-image: url("top_background.png");
  background-repeat: no-repeat;
  /* 繰り返し防止 */
  background-position: center center;
  /* 中央配置 */
  background-size: cover;
  /* 画面サイズに合わせて拡大・縮小 */
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  text-align: left;
}

.hero-text {
  max-width: 550px;
  position: relative;
  text-align: center;
}

.hero-section .new-release-icon {
  position: absolute;
  left: -50px;
  top: -50px;
  width: 200px;
  height: auto;
  max-width: none;
  /* hero-section img の max-width を打ち消す */
}


.hero-section h1 {
  font-size: 3.5em;
  letter-spacing: 0.075em;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

.hero-section p {
  font-size: 1.25em;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.hero-section img {
  width: 380px;
  max-width: 100%;
  height: auto;
}

.hero-section .cta-button {
  background-color: #FFFFFF;
  color: #022553;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid transparent;
  /* ← 最初から透明なボーダーを設定 */
  padding: 8px 56px;
  font-size: 1.25em;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s ease;
  /* ← スムーズな変化を追加 */
}


.hero-section .cta-button:hover {
  background-color: #022553;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  outline: none;
  /* ← outline-offset を削除 */
}



/* Hybrid Satisfa紹介------------------------- */

.crm-info {
  text-align: center;
  font-size: 1em;
  margin-bottom: 40px;
  color: #0F141A;
}

.crm-info a {
  color: #e6871e;
  text-decoration: underline;
  font-weight: bold;
}

.crm-info a:hover {
  color: #82b400;
}




/* セクション共通------------------------- */
section {
  padding: 0px 32px 40px 32px;
  max-width: 1140px;
  margin: auto;
}

section h1 {
  font-size: 2em;
  border-bottom: solid 3px #828282;
  margin: 40px 0 24px 0;
}




/* 特徴セクション------------------------- */
.flex {
  display: flex;
  gap: 8px;
}

.flex .image {
  width: 450px;
  margin: 0;
  padding: 0;
}

.flex .text1,
.flex .text2 {
  width: 596px;
  font-size: 1.125em;
  margin: 16px 24px 0 12px;
  padding: 0;
}

.flex .image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


#features h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.75em;
  line-height: 1;
  margin-left: 5px;
  position: relative;
}

/* 特徴まとめ------------------------- */
.feature-all-item {
  padding: 32px;
  margin-bottom: 32px;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 16px;
}

.feature-grid .row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.feature-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-width: 350px;
  /* PC用の最大サイズ */
}

/* スマホ表示（幅768px以下） */
@media screen and (max-width: 768px) {

  .feature-all-item {
  padding: 8px;
  margin-bottom: 16px;
}

  .feature-grid img {
    max-width: 100%;
    /* 画面幅に合わせて縮小 */
    width: calc(50% - 16px);
    /* 2列表示にする */
  }

  .feature-grid .row {
    flex-wrap: wrap;
    /* 画像が折り返されるようにする */
    justify-content: center;
  }
}


/* 共通特徴アイテム */
.feature-item,
.feature-item_v2 {
  background-color: #D9DFE5;
  padding: 32px;
  margin-bottom: 32px;
}

.feature-item {
  border-radius: 8px 50px 8px 50px;
}

.feature-item_v2 {
  border-radius: 50px 8px 50px 8px;
}

/* 共通タイトル */
.feature-item h3,
.feature-item_v2 h3 {
  text-align: center;
  font-size: 1.5em;
  padding-top: 40px;
}

.text-group {
  max-width: 700px;
}

.text-group .number,
.text-group .number2 {
  font-family: 'BIZ UDGothic', sans-serif;
  font-size: 3em;
  color: #B9C7DC;
  margin-bottom: 5px;
}

.text-group h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  margin: 12px 0 8px 5px;
}

.text-group p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1em;
  margin-top: 12px;
}

.number-title {
  display: flex;
  align-items: center;
}

.number-title .number {
  margin: 0 8px 0 12px;
}

.number-title .number2 {
  margin: 0 8px 0 32px;
}








/* 特徴2/特徴4------------------------- */
/* 共通カードグループ */
.card-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.card-group {
  gap: 24px;
}

/* 共通カードベース */
.card,
.card_v2 {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.card {
  flex-direction: row;
  width: 512px;
  border-radius: 8px;
  overflow: hidden;
}

.card_v2 {
  flex-direction: column;
  width: 480px;
}

/* 共通画像フレーム */
.card_imgframe,
.card_imgframe_v2 {
  flex-shrink: 0;
  text-align: center;
}

.card_imgframe {
  width: 180px;
  height: 152px;
}

.card_imgframe_v2 {
  width: 350px;
  height: 175px;
  border-radius: 8px;
}

.card_imgframe img,
.card_imgframe_v2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  text-align: center;
  border-radius: 8px;
}

/* 共通テキストボックス */
.card_textbox,
.card_textbox_v2 {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}

.card_textbox {
  width: 332px;
  padding: 16px;
}

.card_textbox_v2 {
  width: 450px;
}

/* 共通タイトルテキスト */
.card_titletext,
.card_titletext_v2 {
  font-size: 1.25em;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.card_titletext {
  margin-bottom: 16px;
}

.card_titletext_v2 {
  margin: 16px;
}

/* 概要テキスト */
.card_overviewtext {
  font-size: 1.125em;
  line-height: 1.4;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  section {
    padding: 0 16px;
  }

  section h1 {
    font-size: 1.5em !important;
  }


  p {
    font-size: 1em;
  }

  .main {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-section .new-release-icon {
    width: 150px;
    top: -10px;
    left: 0;
  }

  .hero-section {
    flex-direction: column;
    /* 縦並びに変更 */
    padding: 32px 24px;
    gap: 32px;
    /* 縦方向の余白 */
    text-align: center;
    background-position: left;
  }

  .hero-section h1 {
    font-size: 3em !important;
    letter-spacing: 0.05em;
  }

  .hero-section p {
    font-size: 1em !important;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1em !important;
  }

  .hero-section img {
    width: 100%;
    max-width: 250px;
    /* スマホ用に少し小さめに */
    margin: 0 auto;
  }

  .hero-section button {
    padding: 8px 32px;
    font-size: 1em !important;
  }

  .feature-item_v2 {
    padding: 24px;
  }

  .feature-item_v2 .flex {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }

  .feature-item h3,
  .feature-item_v2 h3 {
    font-size: 1.125em;
    padding-top: 32px;
  }


  figure.image {
    display: flex;
    justify-content: center;
    /* 横方向中央揃え */
    width: 100%;
    margin: 0 auto;
  }

  figure.image img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .image img {
    max-width: 320px;
  }

  .flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .flex .image,
  .flex .text1,
  .flex .text2 {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: justify;
    font-size: 1em !important;
  }

  .text-group {
    max-width: 100%;
    text-align: center;
    padding: 0 8px;
  }

  .number-title {
    font-size: 1.125em !important;
  }

  .number-title .number,
  .number-title .number2 {
    margin: 0 0 8px 0;
    font-size: 2em !important;
  }

  .text-group h2 {
    font-size: 1.25em !important;
    margin: 8px 0;
  }

  .text-group p {
    font-size: 0.9em !important;
    margin-top: 8px;
  }

  .card-group {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .card {
    flex-direction: row;
    /* 横並びを維持 */
    width: 100%;
    max-width: 100%;
    align-items: center;
    padding: 8px 0;
  }

  .card_v2 {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    align-items: center;
  }

  .card_imgframe {
    width: 80%;
    max-width: 130px;
    height: auto;
  }

  .card_imgframe_v2 {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
  }

  .card_textbox {
    width: 60%;
    padding: 0 0 0 16px;
    box-sizing: border-box;
  }

  .card_textbox_v2 {
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .card_titletext {
    font-size: 1em;
    text-align: left;
    margin-bottom: 8px;
  }

  .card_titletext_v2 {
    font-size: 1.125em;
    text-align: center;
    margin-bottom: 8px;
  }

  .card_overviewtext {
    font-size: 0.85em;
    line-height: 1.5;
  }
}





/* よくあるご質問------------------------- */
.faq {
  margin-bottom: 40px;
}

.faq .actab input[type=checkbox] {
  display: none;
}

.faq .actab {
  padding: 20px 0;
  border-bottom: 1px dotted #cccccc;
}

/*質問テキスト*/
.faq label {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.25em;
  width: calc(100% - 70px);
  margin: 0 0 0 50px;
  cursor: pointer;
  gap: 0.5em;
  /* Qとテキストの間隔 */
}

.faq-q {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 1.5em;
  color: #7689A2;
}

/*＋アイコン*/
.faq label::before {
  position: absolute;
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  margin-left: -50px;
  padding: 0 0 0 0;
  transition: 0.4s ease;
}

.faq .actab input[type=checkbox]:checked~label::before {
  transform: rotate(45deg);
}

/*答えテキスト*/
.faq .actab-content {
  font-size: 1.25em;
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 40px;
  padding: 0 14px;
  transition: 0.4s ease;
  opacity: 0;
}



.faq .actab input[type=checkbox]:checked~.actab-content {
  height: auto;
  padding: 14px;
  opacity: 1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .faq {
    margin-bottom: 24px;
    padding: 0 16px;
  }

  .faq .actab {
    padding: 16px 0;
  }

  .faq label {
    font-size: 1em;
    margin-left: 40px;
    width: calc(100% - 60px);
  }

  .faq label::before {
    font-size: 1.8em;
    margin-left: -40px;
  }

  .faq-q {
    font-size: 1.3em;
  }

  .faq .actab-content {
    font-size: 1em;
    margin: 0 20px;
    padding: 0 10px;
  }

  .faq .actab input[type=checkbox]:checked~.actab-content {
    padding: 10px;
  }
}




/* 問い合わせ------------------------- */
#inquiry {
  background: #D9DFE5;
}

#inquiry p {
  font-size: 1.25rem;
  margin: 0;
}


#inquiry .c-btn {
  background-color: #022553;
  color: #FFFFFF;
  font-weight: bold;
  border: 1px solid transparent;
  /* ← 最初から透明なボーダーを設定 */
  padding: 8px 50px;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s ease;
  /* ← スムーズな変化を追加 */
  text-decoration: none;
  /* ← これで下線無効 */
}

#inquiry .c-btn:hover {
  background-color: #FFFFFF;
  color: #022553;
  border: 1px solid #022553;
  outline: none;
  /* ← outline-offset を削除 */

}

/* 問い合わせレスポンシブ */
@media screen and (min-width: 768px) {
  #inquiry .text {
    padding: 10px 0;
  }

  #inquiry .wrap {
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
  }

  #inquiry .button-group {
    display: flex;
    gap: 16px;
    /* ボタン同士の間隔 */
  }

}

@media only screen and (max-width: 767px) {
  #inquiry {
    padding: 20px 0 0;
  }

  #inquiry p {
    font-size: 1rem;
    margin: 16px;
  }

  #inquiry .wrap {
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    /* テキストとボタン群の間隔 */
    flex-direction: column;
    /* 縦並びに変更 */
  }

  #inquiry .button-group {
    display: flex;
    gap: 16px;
    /* ボタン同士の間隔 */
  }

  #inquiry .inner-block {
    padding: 0;
  }

  #inquiry .c-btn {
    font-size: 1em;
    margin-bottom: 20px;
  }

}